import request from "@/utils/request";
// 咨询管理数据   老师姓名查询
export function Student(integer) {
  return request({
    url: '/appointment/list',
    method: 'get',
    params: integer
  })
}
// 咨询教师姓名的下拉框
export function Teacher(integer) {
  return request({
    url: 'system/teacher/list',
    method: 'get',
    params: integer
  })
}
// 咨询学生的班级下拉框
export function studentClass(integer) {
  return request({
    url: '/student/class/list',
    method: 'get',
    params: integer
  })
}
// 咨询禁用
export function Create(paramsa) {
  return request({
    url: '/student/forbidden/create',
    method: 'post',
    data:paramsa
  })
}
// 修改预约
export function edmitReservation(integer) {
  return request({
    url: '/appointment/edit',
    method: 'put',
    data: integer
  })
}
// 树洞数据
export function TreeHole(query) {
  return request({
    url: '/treeHole/hole/list',
    method: 'get',
    params: query
  })
}
// 文章数据
export function Articles(string) {
  return request({
    url: '/system/article/list',
    method: 'get',
    params: string
  })
}
//树洞 删除
export function ArTiles(query) {
  return request({
    url: '/system/article/{ids}/',
    method: 'DELETE',
    data:query
    // params: data
  })
}
